package com.my.basic.enums;

import java.util.Arrays;

/**
 * @author: marshal
 * @date: 2022-08-12 16:46
 */
public class GenderEnumTest {
    public static void main(String[] args) {
        GenderEnum[] values = GenderEnum.values();
        System.out.println(Arrays.toString(values));
        System.out.println(values[1].name());
        System.out.println(GenderEnum.FEMALE.name());
    }
}
